Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jan 16, 2024
1 parent 4972e39 commit e390898
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
pre:
@build/check_files.sh
@build/ramdisk.py

all: pre
@if [ ! -f src/Makefile ]; then \
(./RUNME;) \
fi
(cd src; $(MAKE) $@)

format:
(cd src ; sh ../build/tidy_source.sh do)
build/format.sh

tidy:
build/tidy_source.sh

clean:
(cd src; $(MAKE) $@)
/bin/rm -rf data/sounds
/bin/rm -rf data/gfx
/bin/rm -rf build.log
/bin/rm -rf appdata

clobber: clean
(cd src; $(MAKE) $@)

.PHONY: all clean clobber format tidy pre

.DEFAULT_GOAL := all

0 comments on commit e390898

Please sign in to comment.