refmod_test

annotate Makefile @ 0:b469e6a72636

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Feb 2016 23:15:43 +0200
parents
children 7e911c994ef2
rev   line source
nuclear@0 1 obj = refmod_test.o sdr.o
nuclear@0 2 bin = refmod_test
nuclear@0 3 distfile = refmod_test.tar.gz
nuclear@0 4
nuclear@0 5 CC = gcc
nuclear@0 6 CFLAGS = -pedantic -Wall -g
nuclear@0 7 LDFLAGS = -lglut -lGL -lGLU
nuclear@0 8
nuclear@0 9 $(bin): $(obj)
nuclear@0 10 $(CC) -o $@ $(obj) $(LDFLAGS)
nuclear@0 11
nuclear@0 12 .PHONY: clean
nuclear@0 13 clean:
nuclear@0 14 rm -f $(obj) $(bin)
nuclear@0 15
nuclear@0 16 .PHONY: dist
nuclear@0 17 dist: clean
nuclear@0 18 cd ..; tar czvf $(distfile) refmod_test && mv $(distfile) refmod_test/$(distfile)