Browse Source

Added Makefile

master
Emil 9 months ago
parent
commit
89ccdf1daa
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      Makefile

+ 26
- 0
Makefile View 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