sandbox/bitwise/ion/Makefile

18 lines
252 B
Makefile
Raw Normal View History

TARGET := ion
OBJS := $(TARGET).o
2018-03-23 22:25:46 +00:00
CFLAGS := -g -std=c99 -Wall -Werror
.PHONY: all run
all: run
2018-03-27 22:59:34 +00:00
run: $(TARGET)
@echo "running $(TARGET)"
./$(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS)
.PHONY: clean
clean:
rm -f $(OBJS) $(TARGET)