Skip to content

Commit

Permalink
Merge pull request mattdm#7 from reinerh/buildflags
Browse files Browse the repository at this point in the history
Buildflags
  • Loading branch information
mattdm authored Sep 4, 2021
2 parents 92b48ce + 5c6eb4c commit 46b1f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ifndef bindir
endif


CFLAGS=-Wall -Werror $(OPTIMIZE) $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\"
CFLAGS+=-Wall -Werror $(OPTIMIZE) $(SDL_CFLAGS) -DDATAPREFIX=\"$(datadir)/icebreaker\"

SRC=icebreaker.c cursor.c grid.c laundry.c line.c penguin.c sound.c \
level.c intro.c text.c status.c transition.c hiscore.c dialog.c \
Expand Down Expand Up @@ -173,7 +173,7 @@ icebreaker.exe: $(DISTFILES)
[ -d win32.build ] && rm -rf win32.build || true

icebreaker: $(SRC:.c=.o)
$(CC) $(CFLAGS) $^ -o icebreaker $(SDL_LIB)
$(CC) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) $(LDFLAGS)

man: icebreaker.6

Expand Down

0 comments on commit 46b1f5a

Please sign in to comment.