diff options
| author | Franklin Wei <git@fwei.tk> | 2016-02-20 20:37:06 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-02-28 16:30:21 -0500 |
| commit | 2c687e77cd9ae3fd01010d7b36c8d0082bb76315 (patch) | |
| tree | b8cd58cea075a3c94cb2f1417e6eaea27865b827 /Makefile | |
| parent | 02de31c48c021742c6245b711790f6d853866c36 (diff) | |
| download | netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.zip netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.gz netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.bz2 netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.xz | |
implements aliases and other assorted features/enhancements
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -34,7 +34,7 @@ INCLUDES = -I src/ -I export/include/ WARNFLAGS = -Wall -Wextra -Wshadow -fno-strict-aliasing -OPTFLAGS = -O3 +OPTFLAGS = -Og DEBUGFLAGS = -g CFLAGS = $(OPTFLAGS) $(DEBUGFLAGS) $(WARNFLAGS) -std=c99 $(INCLUDES) @@ -99,4 +99,25 @@ depend: $(DEPS) .PHONY: install install: $(OUT) - @install build/unix.bin $(PREFIX)/bin/netcosm + @install $(OUT) $(PREFIX)/bin/netcosm + +.PHONY: copysrc +copysrc: + @cp -R src $(BUILDDIR) + @cp -R worlds $(BUILDDIR) + +.PHONY: help +help: + @echo "Build targets:" + @echo " all (default)" + @echo " depend" + @echo + @echo "Cleaning targets:" + @echo " clean" + @echo " veryclean" + @echo + @echo "Helper targets:" + @echo " setcap" + @echo " install" + @echo " copysrc" + @echo " help" |