add initial pages support
This commit is contained in:
4
Makefile
4
Makefile
@@ -25,14 +25,14 @@ else
|
||||
RAYLIB_LIBS := -lGL -lm -lpthread -ldl -lrt -lX11
|
||||
endif
|
||||
|
||||
OBJECTS := main.o
|
||||
OBJECTS := main.o menu.o game.o
|
||||
|
||||
all: catch-phase
|
||||
|
||||
catch-phase: $(OBJECTS) $(RAYLIB_LIB)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(RAYLIB_LIB) $(RAYLIB_LIBS)
|
||||
|
||||
main.o: main.sex | $(OBJ_DIR)
|
||||
%.o: %.sex
|
||||
$(SEXC) $< -c -o $@ -- $(CFLAGS) $(INCLUDES)
|
||||
|
||||
# raylib ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user