gmqcc/Makefile_win

22 lines
380 B
Text
Raw Normal View History

CC = i486-mingw32-gcc
CFLAGS += -Wall
OBJ = main.o \
lex.o \
error.o \
parse.o \
typedef.o \
util.o \
code.o \
2012-04-28 09:01:19 +00:00
asm.o \
ast.o \
ir.o
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)
gmqcc: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean:
rm -f *.o gmqcc