Simple game engine with complete export to scripting language
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.
 
 
 

17 lines
336 B

  1. include ../Makefile.common
  2. OBJ = $(patsubst %.cpp,%.o,$(wildcard src/*.cpp))
  3. LIBNAME = libcorona.a
  4. CXXFLAGS += -Isrc -I../libpng -I../zlib -I../physfs
  5. all: $(LIBNAME)
  6. $(LIBNAME): $(OBJ)
  7. @echo Creating archive $@
  8. @ar -csru $@ $(OBJ)
  9. @echo
  10. clean:
  11. -@$(RM) src$(SLASH)*.o
  12. -@$(RM) src$(SLASH)*.d
  13. -@$(RM) $(LIBNAME)