gmqcc/Makefile

13 lines
182 B
Makefile
Raw Normal View History

2012-04-09 10:42:06 +00:00
CC = gcc
CFLAGS = -O3 -Wall
2012-04-09 13:36:16 +00:00
OBJ = main.o lex.o error.o parse.o cpp.o
2012-04-09 10:42:06 +00:00
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
gmqcc: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean:
rm -f *.o dpqcc