diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 16 |
1 files changed, 4 insertions, 12 deletions
| @@ -1,21 +1,13 @@ | |||
| 1 | PLAT= none | 1 | PLAT?= macosx |
| 2 | PLATS= macosx linux | 2 | PLATS= macosx linux win32 |
| 3 | 3 | ||
| 4 | #------ | 4 | #------ |
| 5 | # Hopefully no need to change anything below this line | 5 | # Hopefully no need to change anything below this line |
| 6 | # | 6 | # |
| 7 | all: $(PLAT) | 7 | all: $(PLAT) |
| 8 | 8 | ||
| 9 | none: | 9 | $(PLATS) none install local clean: |
| 10 | @echo "Please run" | 10 | @cd src; $(MAKE) $@ |
| 11 | @echo " make PLATFORM" | ||
| 12 | @echo "where PLATFORM is one of these:" | ||
| 13 | @echo " $(PLATS)" | ||
| 14 | |||
| 15 | $(PLATS) install local clean: | ||
| 16 | cd src; $(MAKE) $@ | ||
| 17 | |||
| 18 | dummy: | ||
| 19 | 11 | ||
| 20 | test: dummy | 12 | test: dummy |
| 21 | lua test/hello.lua | 13 | lua test/hello.lua |
