diff options
author | Tim Segers <tsegers@pm.me> | 2022-10-10 18:37:28 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-10-10 18:39:41 +0200 |
commit | 8c5571544169a4095ceebf5f6d6b5b9caf09c59b (patch) | |
tree | 08c8b44616ce4785d821db48fbbd0c5bf4421a75 /Makefile | |
parent | 2337828095920b8debdb0f8e0337a9d6aad6b55c (diff) | |
download | opendeco-8c5571544169a4095ceebf5f6d6b5b9caf09c59b.tar.gz |
Move sources into src
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2,19 +2,19 @@ VERSION=\"$(shell git describe --tags --dirty)\" PREFIX = /usr/local -all: opendeco test/opendeco_test +all: opendeco opendeco_test -opendeco: opendeco.c deco.c deco.h schedule.c schedule.h output.c output.h - gcc --std=c99 -pedantic -Wall -Werror -O3 -DVERSION=${VERSION} opendeco.c deco.c schedule.c output.c -lm -o opendeco +opendeco: src/opendeco.c src/deco.c src/deco.h src/schedule.c src/schedule.h src/output.c src/output.h + gcc --std=c99 -pedantic -Wall -Werror -O3 -DVERSION=${VERSION} src/opendeco.c src/deco.c src/schedule.c src/output.c -lm -o opendeco -test/opendeco_test: deco.c test/opendeco_test.c - gcc --std=c99 -pedantic -Wall -Werror -O3 test/minunit.c test/opendeco_test.c test/deco_test.c deco.c -lm -o test/opendeco_test +opendeco_test: test/opendeco_test.c test/deco_test.c src/deco.c + gcc --std=c99 -pedantic -Wall -Werror -O3 test/minunit.c test/opendeco_test.c test/deco_test.c src/deco.c -lm -o opendeco_test run: opendeco ./opendeco -d 30 -t 120 -g EAN32 --decogasses EAN50 -test: test/opendeco_test - ./test/opendeco_test +test: opendeco_test + ./opendeco_test install: all mkdir -p ${DESTDIR}${PREFIX}/bin @@ -26,4 +26,4 @@ uninstall: clean: rm opendeco - rm test/opendeco_test + rm opendeco_test |