source: roaraudio/plugins/roard/Makefile @ 5449:c4827557d495

Last change on this file since 5449:c4827557d495 was 5449:c4827557d495, checked in by phi, 10 years ago

implemented tic-tac-toe as roard proto plugin.

File size: 913 bytes
Line 
1include ../../Makefile.conf
2include ../../Makefile.inc
3
4TARGETS=echo$(SHARED_SUFFIX) daytime$(SHARED_SUFFIX) discard$(SHARED_SUFFIX) irc$(SHARED_SUFFIX) tic-tac-toe$(SHARED_SUFFIX) listenpty$(SHARED_SUFFIX)
5
6#DEFINES        = -DDEBUG
7INCLUDE = -I../include -I../include/libroar -I../..
8CFLAGS += -g -Wall -Wextra $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC)
9LDFLAGS+= -g -Wall -Wextra $(OPTI_O) $(SHARED) $(LDPATH)
10LIBS    = $(LIBROAR)
11
12all: ${TARGETS}
13clean:
14        rm -f ${TARGETS} *.o
15new: clean all
16
17install: all
18        cp $(cp_v) ${TARGETS} '$(DESTDIR)$(PREFIX_PLUGINS)/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/roard/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/'
19semi-install: all
20        sh -c 'set -e; for file in *$(SHARED_SUFFIX); do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_PLUGINS)/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/roard/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/'; done'
21
22%$(SHARED_SUFFIX): %.o
23        $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
Note: See TracBrowser for help on using the repository browser.