gmqcc/Makefile

19 lines
285 B
Makefile
Raw Normal View History

CC = gcc
CFLAGS += -Wall
OBJ = main.o \
lex.o \
error.o \
parse.o \
typedef.o \
util.o \
code.o
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