Added dynamic SDL flag support
This commit is contained in:
parent
a87358662b
commit
59833d3447
5
Makefile
5
Makefile
@ -2,7 +2,7 @@
|
||||
|
||||
CC=gcc
|
||||
O=2
|
||||
CFLAGS=-D_REENTRANT -lSDL2
|
||||
CFLAGS=`sdl2-config --cflags` `sdl2-config --libs`
|
||||
PREFIX=$(HOME)/.local
|
||||
|
||||
all: ls7emulator
|
||||
@ -13,8 +13,7 @@ clean:
|
||||
|
||||
ls7emulator:
|
||||
cd src
|
||||
$(CC) main.c -o ls7emulator $(CFLAGS) -O$(O)
|
||||
|
||||
$(CC) main.c -o ls7emulator $(CFLAGS) -O$(O)
|
||||
rm ../bin -rf
|
||||
mkdir ../bin
|
||||
cd ../bin
|
||||
|
Loading…
Reference in New Issue
Block a user