PSX: minor changes to the 'posix' module for enabling full compilation.
[reactos.git] / posix / apps / baresh / Makefile
index 92b9208..e0273a9 100644 (file)
@@ -1,10 +1,10 @@
-# $Id: Makefile,v 1.2 2002/04/07 13:53:51 ea Exp $
+# $Id: Makefile,v 1.5 2002/10/01 20:21:45 ea Exp $
 #
 # Tu run it in Win32 console mode, undefine __SUBSYSTEM_WINDOWS__
 # and pass "console" in the ld's --subsystem option.
 # 
 #
-PATH_TO_TOP=../../../..
+PATH_TO_TOP=../../../reactos
 
 PATH_TO_PSX_TOP=../..
 
@@ -16,7 +16,7 @@ OBJECTS=$(TARGET_NAME).o $(TARGET_NAME).coff
 
 LIBRARIES=\
        $(PATH_TO_PSX_TOP)/lib/crt0w32.o \
-       $(PATH_TO_TOP)/dk/psx/lib/psxdll.a
+       $(PATH_TO_PSX_TOP)/lib/psxdll/psxdll.a
 
 $(TARGET_NAME): $(OBJECTS) $(LIBRARIES)
        $(CC) \
@@ -33,7 +33,14 @@ $(TARGET_NAME).coff: $(TARGET_NAME).rc
                --include-dir $(PATH_TO_TOP)/include \
                --output-format coff \
                $< $@ 
-               
+
+clean:
+       - $(RM) *.o
+       - $(RM) *.exe
+       - $(RM) *.coff
+       - $(RM) *.sym
+
+
 
 include $(PATH_TO_TOP)/rules.mak