gmqcc/Makefile

20 lines
322 B
Makefile
Raw Normal View History

2012-04-17 21:31:07 +00:00
CC = clang
CFLAGS += -Wall
OBJ = main.o \
lex.o \
error.o \
parse.o \
typedef.o \
util.o \
code.o \
2012-04-24 20:19:05 +00:00
asm.c
2012-04-09 10:42:06 +00:00
%.o: %.c
2012-04-10 01:32:24 +00:00
$(CC) -c $< -o $@ $(CFLAGS)
2012-04-09 10:42:06 +00:00
gmqcc: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean:
2012-04-09 23:47:20 +00:00
rm -f *.o gmqcc