Skip to content

Commit

Permalink
removed squid demo, simplified dir naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
maxattack committed Jan 27, 2014
1 parent 1f88626 commit ea10f4d
Show file tree
Hide file tree
Showing 45 changed files with 11 additions and 594 deletions.
33 changes: 10 additions & 23 deletions Makefile
Expand Up @@ -18,11 +18,6 @@ PLATFORMER_OBJ_FILES = \
obj/Hero.o \
obj/Kitten.o \
obj/platformer.o

squids_OBJ_FILES = \
obj/SplineTree.o \
obj/squids.o

# COMPILER
CC = clang
CPP = clang++
Expand Down Expand Up @@ -55,44 +50,36 @@ CFLAGS += -arch i386
AFLAGS = 32
# AFLAGS = 64

# stest: bin/squids bin/squids.bin
# bin/squids

test : bin/platformer bin/platformer.bin
cp platformer/assets/song.mid bin/song.mid
cp demo/assets/song.mid bin/song.mid
bin/platformer

bin/squids: lib/liblittlepolygon.a $(squids_OBJ_FILES)
$(CPP) -o $@ $(CFLAGS) $(CCFLAGS) $(LIBS) $(squids_OBJ_FILES)

bin/squids.bin: squids/assets/* tools/*.py
tools/export_asset_bin.py squids/assets/assets.yaml $@ $(AFLAGS)


bin/platformer: lib/liblittlepolygon.a $(PLATFORMER_OBJ_FILES)
mkdir -p bin
$(CPP) -o $@ $(CFLAGS) $(CCFLAGS) $(LIBS) $(PLATFORMER_OBJ_FILES)

bin/platformer.bin: platformer/assets/* tools/*.py platformer/tools/*.py
platformer/tools/export_game_assets.py platformer/assets/assets.yaml $@ $(AFLAGS)
bin/platformer.bin: demo/assets/* tools/*.py demo/tools/*.py
mkdir -p bin
demo/tools/export_game_assets.py demo/assets/assets.yaml $@ $(AFLAGS)

clean:
rm -f lib/*
rm -f obj/*
rm -f bin/*

lib/liblittlepolygon.a: $(LIBRARY_OBJ_FILES)
mkdir -p lib
ar rcs $@ $^

obj/%.o: src/%.c
mkdir -p obj
$(CC) $(CFLAGS) -c -o $@ $<

obj/%.o: src/%.cpp include/*.h
mkdir -p obj
$(CPP) $(CFLAGS) $(CCFLAGS) -c -o $@ $<

obj/%.o: platformer/src/%.cpp platformer/src/*.h
$(CPP) $(CFLAGS) $(CCFLAGS) -c -o $@ $<

obj/%.o: squids/src/%.cpp # squids/src/*.h
obj/%.o: demo/src/%.cpp demo/src/*.h
mkdir -p obj
$(CPP) $(CFLAGS) $(CCFLAGS) -c -o $@ $<


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
201 changes: 0 additions & 201 deletions squids/assets/Apache License.txt

This file was deleted.

Binary file removed squids/assets/DroidSans-Bold.ttf
Binary file not shown.
Binary file removed squids/assets/DroidSans.ttf
Binary file not shown.
Binary file removed squids/assets/_max.gif
Binary file not shown.
6 changes: 0 additions & 6 deletions squids/assets/assets.yaml

This file was deleted.

76 changes: 0 additions & 76 deletions squids/assets/templates.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions squids/src/DisplayTree.h

This file was deleted.

0 comments on commit ea10f4d

Please sign in to comment.