added makefile

master
Martin Gerhardy 2016-03-14 13:48:05 +01:00
parent 6cbaf70fc1
commit d96e6e4a3f
2 changed files with 33 additions and 13 deletions

18
.gitignore vendored
View File

@ -1,13 +1,5 @@
CMakeFiles/
cmake_install.cmake
CMakeCache.txt
/fips_targets.yml
Makefile
/.project
/.cproject
/.fips-gen.py
/.fips-imports.cmake
*.a
/.settings
/fips-*_*
/valgrind-*.log
#>fips
# this area is managed by fips, do not edit
.fips-*
*.pyc
#<fips

28
Makefile Normal file
View File

@ -0,0 +1,28 @@
TARGET=
VERBOSE=
Q=@
all: build
build:
$(Q)./fips make VERBOSE=$(VERBOSE)
clean:
$(Q)./fips clean
$(Q)rm -f .fips-gen.py
$(Q)rm -f .fips-imports.cmake
run: build
$(Q)./fips run $(TARGET)
eclipse:
$(Q)./fips config linux-eclipse-debug
server:
$(Q)./fips run server
client:
$(Q)./fips run client
generate:
$(Q)./fips run worldgenerator -- -set seed 1 -set size 64