mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 02:03:24 +00:00
5c4cc39c56
Create a 'main.c' with the main routine and argument "parsing" etc. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 lines
252 B
Makefile
11 lines
252 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -Wno-pointer-sign -g
|
|
|
|
parse: main.o parse.o
|
|
$(CC) $(LDLAGS) -o parse main.o parse.o `xml2-config --libs`
|
|
|
|
parse.o: parse.c dive.h
|
|
$(CC) $(CFLAGS) -c `xml2-config --cflags` parse.c
|
|
|
|
main.o: main.c dive.h
|
|
$(CC) $(CFLAGS) -c main.c
|