aboutsummaryrefslogtreecommitdiff
path: root/progs/beos/Makefile
blob: 45782fb3cf7c8f2009e9b33cbe05722ca0b0053e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# progs/beos/Makefile

TOP = ../..
include $(TOP)/configs/current

# Makefile for BeOS demos

# Written by Brian Paul
# This file is in the public domain.
#
# Modified by Philippe Houdoin

LDFLAGS += -soname=_APP_ $(APP_LIB_DEPS)

INCLUDES = -I. -I- -I../../include

default: demo sample GLInfo

clean:
	rm -f demo sample GLInfo
	rm -f *.o

demo: demo.o
	$(LD) demo.o $(LDFLAGS) -o $@

sample: sample.o
	$(LD) sample.o $(LDFLAGS) -o $@

GTLInfo: GLInfo.o
	$(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) -o $@

.cpp.o:
	$(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@