first commit
This commit is contained in:
commit
aa7b921523
10 changed files with 19537 additions and 0 deletions
19
makefile
Normal file
19
makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
include config.mk
|
||||
|
||||
SRC:=topaz.c
|
||||
|
||||
ifeq (${BACKEND},gl)
|
||||
SRC += opengl/gl.c opengl/platform.c
|
||||
endif
|
||||
|
||||
OBJ:=${SRC:.c=.o}
|
||||
|
||||
all: ${OBJ}
|
||||
${CC} ${LIBS} ${OBJ} -o topaz
|
||||
|
||||
%.o: %.c
|
||||
${CC} ${CFLAGS} -c $< -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rfv ${OBJ} topaz
|
||||
Loading…
Add table
Add a link
Reference in a new issue