This commit is contained in:
Rafal Kupiec 2018-07-12 13:45:11 +02:00
parent 404a2cb402
commit 4a98bdc865
1 changed files with 31 additions and 32 deletions

View File

@ -1,32 +1,31 @@
CFLAGS = -W -Wunused -Wall -I. -Ofast CFLAGS = -W -Wunused -Wall -I. -Ofast
LDFLAGS = LDFLAGS =
CC = gcc CC = gcc
INCLUDES = INCLUDES =
OBJ =\ OBJ =\
api.o \ api.o \
builtin.o \ builtin.o \
compile.o \ compile.o \
constant.o \ constant.o \
hashmap.o \ hashmap.o \
interpreter.o \ interpreter.o \
lex.o \ lex.o \
lib.o \ lib.o \
memobj.o \ memobj.o \
oo.o \ oo.o \
parse.o \ parse.o \
vfs.o \ vfs.o \
vm.o vm.o
all: main all: main
clean: clean:
rm -f *.o ph7 rm -f *.o ph7
main: $(OBJ) main: $(OBJ)
$(CC) $(OBJ) $(LIBS) -o ph7 $(CC) $(OBJ) $(LIBS) -o ph7
.c.o: .c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $< $(CC) -c $(INCLUDES) $(CFLAGS) $<