Added Makefile
This commit is contained in:
parent
76ae5fd5e7
commit
89ccdf1daa
26
Makefile
Normal file
26
Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $Id: Makefile 84 2009-01-10 01:37:29Z chromerium $
|
||||
|
||||
SUBDIRS = src examples
|
||||
|
||||
all:
|
||||
for subdir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$subdir || exit 1; \
|
||||
done
|
||||
|
||||
clean:
|
||||
-for subdir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$subdir clean || exit 1; \
|
||||
done
|
||||
-rm -f core
|
||||
|
||||
distclean:
|
||||
-for subdir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$subdir distclean || exit 1; \
|
||||
done
|
||||
-rm -f include/config.h config.cache config.status config.log core
|
||||
|
||||
distro: distclean
|
||||
(cd .. && tar zcf libircclient-1.2.tar.gz libircclient-1.2)
|
||||
|
||||
install: all
|
||||
-cd src && make install
|
Reference in New Issue
Block a user