modified: src1/common.h
[GalaxyCodeBases.git] / c_cpp / libgFileIO / _dist / Makefile
blob16049467220f82425f8d3e742cc7f0fd2b1aa48a
1 CC = gcc
2 CFLAGS = -Wall -pipe -march=core2 -mtune=generic -pedantic -Wfloat-equal
3 LDFLAGS = -lz -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=both
4 OPT = -O3 -std=gnu99
6 MAKEARG = $(CFLAGS) $(OPT)
8 all: clean example
10 example: libgFileIO.a
11 $(CC) $(CFLAGS) $(OPT) $(LDFLAGS) -o example example.c libgFileIO.a
13 .PHONY : clean
14 clean:
15 @-rm example 2> /dev/null