Moved Makefile
This commit is contained in:
parent
2e7086e91b
commit
9c9161e696
18
src/Makefile
18
src/Makefile
@ -1,18 +0,0 @@
|
|||||||
CC=gcc
|
|
||||||
CFLAGS=-lcsfml-window -lcsfml-system -lcsfml-graphics
|
|
||||||
PREFIX=$(HOME)/.local
|
|
||||||
CACHE=$(shell if [ "$$XDG_CACHE_HOME" ]; then echo "$$XDG_CACHE_HOME"; else echo "$$HOME"/.cache; fi)
|
|
||||||
|
|
||||||
all: ls7emulator
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f ls7emulator $(CACHE)/ls7emulator
|
|
||||||
|
|
||||||
ls7emulator: ls7emulator.c ls7emulator.h config.h
|
|
||||||
$(CC) ls7emulator.c -o ls7emulator $(CFLAGS)
|
|
||||||
strip ls7emulator
|
|
||||||
|
|
||||||
install: ls7emulator
|
|
||||||
mkdir -p $(PREFIX)/bin
|
|
||||||
install ./ls7emulator $(PREFIX)/bin/ls7emulator
|
|
||||||
cp ./ls7emulator /usr/bin/ls7emulator
|
|
Loading…
Reference in New Issue
Block a user