Skip to content

Commit

Permalink
Add: More Makefile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Pannek committed Nov 18, 2017
1 parent 065ec76 commit b901954
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DIRS = cdirip scramble makeip isofix binhack

all:
for i in $(DIRS); do make -C $$i || true; done
for i in $(DIRS); do cd $$i; make ; cd .. || true; done

clean:
for i in $(DIRS); do make -C $$i clean || true; done
Expand Down
2 changes: 1 addition & 1 deletion src/binhack/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RM = rm
# flags
# add the -DDEBUG directive to CPPFLAGS to compile in DEBUG mode.
#CPPFLAGS = -O3 -DDEBUG
CPPFLAGS = -O3
CPPFLAGS = -O3 -fPIC
PACKEROPT = -9 --compress-resources=0

# directories
Expand Down
3 changes: 3 additions & 0 deletions src/cdirip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ test: all
clean:
rm *.o cdirip

install: all
cp cdirip /usr/local/bin/

mrproper: clean

0 comments on commit b901954

Please sign in to comment.