refmod_test

diff Makefile @ 0:b469e6a72636

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Feb 2016 23:15:43 +0200
parents
children 7e911c994ef2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Thu Feb 18 23:15:43 2016 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +obj = refmod_test.o sdr.o
     1.5 +bin = refmod_test
     1.6 +distfile = refmod_test.tar.gz
     1.7 +
     1.8 +CC = gcc
     1.9 +CFLAGS = -pedantic -Wall -g
    1.10 +LDFLAGS = -lglut -lGL -lGLU
    1.11 +
    1.12 +$(bin):	$(obj)
    1.13 +	$(CC) -o $@ $(obj) $(LDFLAGS)
    1.14 +
    1.15 +.PHONY: clean
    1.16 +clean:
    1.17 +	rm -f $(obj) $(bin)
    1.18 +
    1.19 +.PHONY: dist
    1.20 +dist: clean
    1.21 +	cd ..; tar czvf $(distfile) refmod_test && mv $(distfile) refmod_test/$(distfile)