This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/utils/mgpost/Makefile
Andrew Pamment 7d3cf217cb Added some utiltites, filepost and mgpost
filepost posts a file to a filebase

mgpost posts a message to a msgbase
2016-04-11 17:18:33 +10:00

16 lines
268 B
Makefile

CC=cc
CFLAGS=-I/usr/local/include
DEPS = mgpost.c
JAMLIB = ../../jamlib/jamlib.a
OBJ = mgpost.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
mgpost: $(OBJ)
$(CC) -o mgpost -o $@ $^ $(CFLAGS) -L/usr/local/lib $(JAMLIB)
.PHONY: clean
clean:
rm -f $(OBJ) mgpost