equal
deleted
inserted
replaced
19 # You should have received a copy of the GNU Lesser General Public |
19 # You should have received a copy of the GNU Lesser General Public |
20 # License along with this library; if not, write to the Free Software |
20 # License along with this library; if not, write to the Free Software |
21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 # |
22 # |
23 |
23 |
24 CC = mingw32-g++ |
24 CC = SUB_CC |
|
25 CXX = SUB_CXX |
|
26 LD = SUB_LD |
25 OPT_CFLAGS = -O2 |
27 OPT_CFLAGS = -O2 |
26 CFLAGS = SUB_OPT_CFLAGS |
28 CFLAGS = SUB_OPT_CFLAGS |
27 PROG_CFLAGS = SUB_PROG_CFLAGS |
29 PROG_CFLAGS = SUB_PROG_CFLAGS |
28 OS_NAME = SUB_OS_NAME |
30 OS_NAME = SUB_OS_NAME |
29 ARCH_NAME = SUB_ARCH_NAME |
31 ARCH_NAME = SUB_ARCH_NAME |
43 all: driver |
45 all: driver |
44 |
46 |
45 driver: $(OBJS) |
47 driver: $(OBJS) |
46 |
48 |
47 %o: %cpp |
49 %o: %cpp |
48 $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< |
50 $(CXX) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< |
49 |
51 |
50 install: |
52 install: |
51 mkdir -p $(PREFIX)/include/canfestival |
53 mkdir -p $(PREFIX)/include/canfestival |
52 cp $(SRC_HFILES) $(PREFIX)/include/canfestival |
54 cp $(SRC_HFILES) $(PREFIX)/include/canfestival |
53 |
55 |