mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
0eeb6d5984
to access calendars that can be stored in many different formats. They are mostly samples and how-to use the MCAL library. PR: 31461 Submitted by: thierry@pompo.net
35 lines
779 B
Plaintext
35 lines
779 B
Plaintext
--- Makefile.orig Thu Dec 2 09:02:04 1999
|
|
+++ Makefile Tue Oct 23 23:59:32 2001
|
|
@@ -1,21 +1,23 @@
|
|
# $Id: Makefile,v 1.1.1.1 1999/12/02 08:02:04 zircote Exp $
|
|
-CC=gcc
|
|
-FLEX=flex
|
|
-INCLUDE=-I../libmcal
|
|
-CFLAGS=-O0 -Wall -g $(INCLUDE)
|
|
+INCLUDE=-I$(LOCALBASE)/include/mcal
|
|
|
|
LIBCAL=mcal
|
|
-LIBDIR=../libmcal
|
|
-
|
|
+LIBDIR=$(LOCALBASE)/lib
|
|
+DESTDIR=$(LOCALBASE)/mcal
|
|
|
|
all: mcal
|
|
|
|
mcal: mcal.o
|
|
- gcc -Wall -g -o mcal mcal.o -L$(LIBDIR) -l$(LIBCAL) -lcrypt
|
|
+ $(CC) $(CFLAGS) -o mcal mcal.o -L$(LIBDIR) -l$(LIBCAL) -lcrypt
|
|
|
|
mcal.o: mcal.c
|
|
- gcc -Wall -c $(INCLUDE) -g mcal.c
|
|
+ $(CC) $(CFLAGS) -c $(INCLUDE) mcal.c
|
|
|
|
clean:
|
|
rm -f *.o mcal
|
|
|
|
+install: all
|
|
+ strip mcal
|
|
+ mkdir -p $(DESTDIR)
|
|
+ install -m 755 -o 0 -g 0 mcal $(DESTDIR)
|
|
+ install -m 644 -o 0 -g 0 LICENSE $(DESTDIR)
|