refmod_test

view 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 source
1 obj = refmod_test.o sdr.o
2 bin = refmod_test
3 distfile = refmod_test.tar.gz
5 CC = gcc
6 CFLAGS = -pedantic -Wall -g
7 LDFLAGS = -lglut -lGL -lGLU
9 $(bin): $(obj)
10 $(CC) -o $@ $(obj) $(LDFLAGS)
12 .PHONY: clean
13 clean:
14 rm -f $(obj) $(bin)
16 .PHONY: dist
17 dist: clean
18 cd ..; tar czvf $(distfile) refmod_test && mv $(distfile) refmod_test/$(distfile)