Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbid authored Jan 13, 2023
1 parent a05b51d commit 0d722c6
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions TuxPusher_SDL/makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
CC ?= cc
INCLUDE_HEADERS = -I ../inc
LINK_DEPS = -lSDL2 -lGLESv2 -lEGL
CFLAGS ?= -Ofast
PREFIX ?= $(DESTDIR)

ifneq ($(LDFLAGS),)
LINK_DEPS += $(LDFLAGS)
endif

.PHONY: all

all: tuxpusher

tuxpusher:
$(CC) $(CFLAGS) $(LDFLAGS) -c main.c \
$(INCLUDE_HEADERS) $(LINK_DEPS) \
-o tuxpusher
cc main.c -I ../inc -lSDL2 -lGLESv2 -lEGL -Ofast -lm -o tuxpusher

install:
install -Dm 0755 tuxpusher -t $(PREFIX)/bin
Expand Down

0 comments on commit 0d722c6

Please sign in to comment.