some settings for .dat file processing

This commit is contained in:
eddyem
2016-09-30 18:57:41 +03:00
parent 8f5337f5d3
commit dec8c284bc
16 changed files with 2142 additions and 0 deletions

24
wfs_read/Makefile Normal file
View File

@@ -0,0 +1,24 @@
PROGRAM = readwfs
LDFLAGS =
SRCS = $(wildcard *.c)
CC = gcc
DEFINES = -D_XOPEN_SOURCE=1111
CXX = gcc
CFLAGS = -Wall -Werror -Wextra $(DEFINES) -std=gnu99
OBJS = $(SRCS:.c=.o)
all : $(PROGRAM)
$(PROGRAM) : $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROGRAM)
# some addition dependencies
# %.o: %.c
# $(CC) $(LDFLAGS) $(CFLAGS) $< -o $@
$(SRCS) : %.c : %.h
touch $@
%.h: ;
clean:
/bin/rm -f *.o *~
depend:
$(CXX) -MM $(CXX.SRCS)