You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spOSMroute/sdlgl/Makefile

28 lines
360 B

-include ../Makefile.rules
OBJBASE = sdl_main.o sdl_gfx.o sdl_font.o
OBJ = $(OBJBASE)
SRC = $(OBJBASE:%.o=%.c)
all: libsdlgl.a
libsdlgl.a: $(OBJ)
$(AR) rcs libsdlgl.a $(OBJ)
dep: $(SRC)
$(CC) -MM $(SRC) $(CFLAGS) > $(DEPENDFILE)
clean:
rm -rf *.o
rm -rf *.a
rm -rf *~
rm -rf *.rsc
rm -rf .depend
displayobj:
echo $(OBJ)
-include $(DEPENDFILE)