Initial commit
[ndeql_lang.git] / Makefile
blob72342247b2c44501a3133da7d40b537b5238f671
1 CC=gcc
2 LD=gcc
3 CFLAGS=-g -Wall -Werror -pedantic -ansi -O2
4 #CFLAGS=-g -Wall -Werror -pedantic -ansi -O2 -DLESS_PROBLEMATIC
5 LDFLAGS=
7 PROG=ndeql
9 default:all
11 clean:
12 find -name '*.o' -delete
13 find -name '*~' -delete
14 rm -f $(PROG)
16 all: $(PROG)
18 ndeql: ndeql.o
19 $(LD) $(LDFLAGS) -o $@ $^
21 %.o : %.c
22 $(CC) $(CFLAGS) -o $@ -c $<